GrapeCity.CalcEngine.Functions Namespace > CalcBinomDistFunction Class > Evaluate Method : Evaluate(Object[]) Method |
The args contains 4 items: number_s, trials, probability_s, cumulative.
Number_s is the number of successes in trials.
Trials is the number of independent trials.
Probability_s is the probability of success on each trial.
Cumulative is a logical value that determines the form of the function. If cumulative is TRUE, then BINOMDIST returns the cumulative distribution function, which is the probability that there are at most number_s successes; if FALSE, it returns the probability mass function, which is the probability that there are number_s successes.
'Usage Dim instance As CalcBinomDistFunction Dim args() As Object Dim value As Object value = instance.Evaluate(args)
The args contains 4 items: number_s, trials, probability_s, cumulative.
Number_s is the number of successes in trials.
Trials is the number of independent trials.
Probability_s is the probability of success on each trial.
Cumulative is a logical value that determines the form of the function. If cumulative is TRUE, then BINOMDIST returns the cumulative distribution function, which is the probability that there are at most number_s successes; if FALSE, it returns the probability mass function, which is the probability that there are number_s successes.
Target Platforms: Windows Server 2012, Windows RT